home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / PInterfaces / Start.p < prev    next >
Encoding:
Text File  |  1995-07-06  |  2.2 KB  |  116 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Start.p
  3.  
  4.      Contains:    Start Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. }
  19.  
  20. {$IFC UNDEFINED UsingIncludes}
  21. {$SETC UsingIncludes := 0}
  22. {$ENDC}
  23.  
  24. {$IFC NOT UsingIncludes}
  25.  UNIT Start;
  26.  INTERFACE
  27. {$ENDC}
  28.  
  29. {$IFC UNDEFINED __START__}
  30. {$SETC __START__ := 1}
  31.  
  32. {$I+}
  33. {$SETC StartIncludes := UsingIncludes}
  34. {$SETC UsingIncludes := 1}
  35.  
  36.  
  37. {$IFC UNDEFINED __TYPES__}
  38. {$I Types.p}
  39. {$ENDC}
  40. {    ConditionalMacros.p                                            }
  41.  
  42. {$PUSH}
  43. {$ALIGN MAC68K}
  44. {$LibExport+}
  45.  
  46. TYPE
  47.     DefStartRec = RECORD
  48.         CASE INTEGER OF
  49.         0: (
  50.             sdExtDevID:                    SignedByte;
  51.             sdPartition:                SignedByte;
  52.             sdSlotNum:                    SignedByte;
  53.             sdSRsrcID:                    SignedByte;
  54.            );
  55.         1: (
  56.             sdReserved1:                SignedByte;
  57.             sdReserved2:                SignedByte;
  58.             sdRefNum:                    INTEGER;
  59.            );
  60.     END;
  61.  
  62.     DefStartPtr = ^DefStartRec;
  63.  
  64.     DefVideoRec = RECORD
  65.         sdSlot:                    SignedByte;
  66.         sdsResource:            SignedByte;
  67.     END;
  68.  
  69.     DefVideoPtr = ^DefVideoRec;
  70.  
  71.     DefOSRec = RECORD
  72.         sdReserved:                SignedByte;
  73.         sdOSType:                SignedByte;
  74.     END;
  75.  
  76.     DefOSPtr = ^DefOSRec;
  77.  
  78.  
  79. PROCEDURE GetDefaultStartup(paramBlock: DefStartPtr);
  80.     {$IFC NOT GENERATINGCFM}
  81.     INLINE $205F, $A07D;
  82.     {$ENDC}
  83. PROCEDURE SetDefaultStartup(paramBlock: DefStartPtr);
  84.     {$IFC NOT GENERATINGCFM}
  85.     INLINE $205F, $A07E;
  86.     {$ENDC}
  87. PROCEDURE GetVideoDefault(paramBlock: DefVideoPtr);
  88.     {$IFC NOT GENERATINGCFM}
  89.     INLINE $205F, $A080;
  90.     {$ENDC}
  91. PROCEDURE SetVideoDefault(paramBlock: DefVideoPtr);
  92.     {$IFC NOT GENERATINGCFM}
  93.     INLINE $205F, $A081;
  94.     {$ENDC}
  95. PROCEDURE GetOSDefault(paramBlock: DefOSPtr);
  96.     {$IFC NOT GENERATINGCFM}
  97.     INLINE $205F, $A084;
  98.     {$ENDC}
  99. PROCEDURE SetOSDefault(paramBlock: DefOSPtr);
  100.     {$IFC NOT GENERATINGCFM}
  101.     INLINE $205F, $A083;
  102.     {$ENDC}
  103. PROCEDURE SetTimeout(count: INTEGER);
  104. PROCEDURE GetTimeout(VAR count: INTEGER);
  105.  
  106. {$ALIGN RESET}
  107. {$POP}
  108.  
  109. {$SETC UsingIncludes := StartIncludes}
  110.  
  111. {$ENDC} {__START__}
  112.  
  113. {$IFC NOT UsingIncludes}
  114.  END.
  115. {$ENDC}
  116.